﻿using System;
using System.Diagnostics;
using System.IO;
using Microsoft.Data.Schema.SchemaModel;
using Microsoft.Data.Schema.Sql.SchemaModel;
using Microsoft.Data.Schema.StaticCodeAnalysis;
using Microsoft.Data.Schema;
using System.Collections;
using System.Collections.Generic;

using System.Globalization;
using Microsoft.Data.Schema.Extensibility;
using Microsoft.Data.Schema.ScriptDom.Sql;
using Microsoft.Data.Schema.Sql;


namespace Neznayka
{
    public static class SqlComparer
    {

        private static ModelCollationComparer _ModelCollationComparer;

        #region properties
        public static ModelCollationComparer Comparer
        {
            set { _ModelCollationComparer = value; }
            get { return _ModelCollationComparer; }
        }
        #endregion

        #region methods
        public static bool CompareEqual( string arg1, string arg2)
        {
            return _ModelCollationComparer.Compare(arg1, arg2) == 0;
        }
        #endregion

    }
}